package com.distribution.system.domain.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author: GodLu
 * @create: 2025-01-15 16:46
 * @description:
 */
@Data
public class TodayOrderLimitDto {
    @NotBlank(message = "商品编码不能为空")
    private String productCode;
    @Range(min = 0, message = "商品当日限单不能小于0")
    private Integer productLimit;
    @Range(min = 0, message = "代理当日限单不能小于0")
    private Integer agentLimit;
}
